home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1996 February
/
EnigmA AMIGA RUN 04 (1996)(G.R. Edizioni)(IT)[!][issue 1996-02][Skylink CD III].iso
/
earcd
/
midi
/
midifl12.lha
/
midifile.new
/
midifile.proto
< prev
next >
Wrap
Text File
|
1995-08-27
|
2KB
|
73 lines
void mfread (void)
void midifile (void)
static int readmt (char *s)
static int egetc (void)
static void readheader (void)
static unsigned long find_tempo (void)
static int readtrack (void)
static void badbyte (int c)
static void metaevent (int type)
static void sysex (void)
static void chanmessage (
int status,
int c1,
int c2)
static long readvarinum (void)
static long to32bit (
int c1,
int c2,
int c3,
int c4)
static int to16bit (
int c1,
int c2)
static long read32bit (void)
static int read16bit (void)
void mferror (char *s)
static void msginit (void)
static char * msg (void)
static int msgleng (void)
static void msgadd (int c)
static void biggermsg (void)
void mfwrite (
int format,
int ntracks,
int division,
FILE *fp)
void mf_write_track_chunk (
int which_track,
FILE *fp)
void mf_write_header_chunk (
int format,
int ntracks,
int division)
int mf_write_midi_event (
unsigned long delta_time,
int type,
int chan,
char *data,
unsigned long size)
int mf_write_meta_event (
unsigned long delta_time,
unsigned char type,
unsigned char *data,
unsigned long size)
void mf_write_tempo (
unsigned long delta_time,
unsigned long tempo)
void mf_write_seqnum (
unsigned long delta_time,
unsigned seqnum)
unsigned long mf_sec2ticks (
double secs,
int division,
unsigned long tempo)
void WriteVarLen (unsigned long value)
double mf_ticks2sec (
unsigned long ticks,
int division,
unsigned long tempo)
void write32bit (unsigned long data)
void write16bit (int data)
static int eputc (unsigned char c)